package com.htjx.mall.admin.controllers;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.encoding.ShaPasswordEncoder;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.htjx.mall.services.AdminService;

@Controller
@RequestMapping("/admin")
public class _AdminController {
	@Autowired
	private AdminService adminService;
	@Autowired
	private ShaPasswordEncoder passwordEncoder;
	
	@RequestMapping(method = RequestMethod.GET)
	public String login(Model model) {
		return "redirect:/login.jsp";
	}
	
}
